import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
//引入组件
import GlobalComDemo from './components/GlobalComDemo.vue'

//引入路由实例化对象
import router from './router/index.js'
//引入路由实例化对象
import store from './store/index.js'


const appInstance = createApp(App)


//注册全局组件
appInstance.component(GlobalComDemo.name,GlobalComDemo)

//挂载
appInstance.use(router)

//挂载Vuex
appInstance.use(store)

appInstance.mount('#app')
